package com.xunyin.douyin;

import com.xunyin.common.web.param.QueryParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 抖音团购券相关接口
 * <p>
 * Created by xunyin
 * CopyRight 讯音云商 https://www.tonetn.com
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "抖音团购券查询参数", description = "抖音团购券查询参数")
public class DouyinConponParam extends QueryParam {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户Id")
    private Integer userId;

    @ApiModelProperty(value = "门店Id")
    private Integer storeId;

    @ApiModelProperty(value = "抖音门店Id")
    private String poiId;

    /**
     * 原始的抖音团购券码 (encrypted_data/code必须二选一)
     */
    private String code;

    /**
     * 从二维码解析出来的标识（传参前需要先进行URL编码）
     * (encrypted_data/code必须二选一)
     */
    private String encryptedData;


}
